/*
 * MemoryRGB48Image
 *
 * Copyright (c) 2003 Marco Schmidt.
 * All rights reserved.
 */
namespace Petra.Gis.Geometry.Image.Tiff
{
/**
 * A class to store 48 bit RGB truecolor images in memory.
 * @author Marco Schmidt
 * @since 0.12.0
 * @see RGB24Image
 */
public class MemoryRGB48Image : MemoryShortChannelImage, IRGB48Image
{
	/**
	 * Creates a new object of this class, with width and height as
	 * specified by the arguments.
	 * @param width the horizontal resolution of the new image in pixels
	 * @param height the vertical resolution of the new image in pixels
	 */
	public MemoryRGB48Image(ImageFileDirectory ifd, int width, int height)
    : base (ifd, 3, width, height)
	{}



	public override IPixelImage createCompatibleImage(int width, int height)
	{
		return new MemoryRGB48Image(_ifd, width, height);
	}




  //public System.Type getImageType()
  //{
  //  return typeof(IRGB48Image);
  //}
}
}